﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ContestMeter.Common;
using Microsoft.Practices.Unity;
using ContestMeter.UI;

namespace ContestMeter.Teacher.UI
{
    public class MainViewModel : ViewModel<MainView>
    {
        [Dependency]
        public ConfigurationEditorViewModel ConfigurationEditor { get; set; }


        BatchCheckerViewModel _batchChecker;
        public BatchCheckerViewModel BatchChecker
        {
            get
            {
                if (_batchChecker == null)
                {
                    _batchChecker = new BatchCheckerViewModel(Container, View);
                }

                return _batchChecker;
            }
        }

    }
}
